package com.warmer.web.service.impl;

import com.warmer.base.util.BeanUtils;
import com.warmer.web.dao.KgGraphLinkDao;
import com.warmer.web.dao.KgGraphNodeDao;
import com.warmer.web.dao.KgGraphNodeMapDao;
import com.warmer.web.entity.KgDomain;
import com.warmer.web.entity.KgGraphLink;
import com.warmer.web.entity.KgGraphNode;
import com.warmer.web.entity.KgGraphNodeMap;
import com.warmer.web.request.GraphItem;
import com.warmer.web.request.GraphLinkItem;
import com.warmer.web.request.GraphNodeColumnItem;
import com.warmer.web.request.GraphNodeItem;
import com.warmer.web.service.KgGraphNodeMapService;
import com.warmer.web.service.KgGraphNodeService;
import com.warmer.web.service.KnowledgeGraphService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.Optional;
import java.util.stream.Collectors;

/**
 * (KgGraphNodeMap)表服务实现类
 *
 * @author tanc
 * @since 2021-12-24 15:53:51
 */
@Service
public class KgGraphNodeMapServiceImpl implements KgGraphNodeMapService {
    @Autowired
    private KgGraphNodeMapDao kgGraphNodeMapDao;

    @Override
    public List<KgGraphNodeMap> selectByDomainId(Integer domainId) {
        return kgGraphNodeMapDao.selectByDomainId(domainId);
    }

    @Override
    public List<KgGraphNodeMap> queryAllByLimit(int offset, int limit) {
        return null;
    }

    @Override
    public KgGraphNodeMap insert(KgGraphNodeMap kgGraphNodeMap) {
        return null;
    }

    @Override
    public KgGraphNodeMap update(KgGraphNodeMap kgGraphNodeMap) {
        return null;
    }

    @Override
    public boolean deleteById(Long id) {
        return false;
    }
}